import request from '@/utils/request'
// 登录呀
export function login(data = {}) {
  return request({
    url: 'mooc-sys/pc/user/login',
    method: 'post',
    data
  })
}

// 获取用户信息
export function getInfo(data = {}) {
  return request({
    url: 'mooc-sys/pc/user/getInfo',
    method: 'get',
    data
  })
}
// 登出
export function logout(data = {}) {
  return request({
    url: 'mooc-sys/pc/user/logout',
    method: 'get',
    data
  })
}
